/*
* @Author: Larry
* @Date:   2016-12-15 17:20:54
* @Last Modified by:   qinsh
* @Last Modified time: 2016-12-24 21:51:08
* +----------------------------------------------------------------------
* | LarryBlogCMS [ LarryCMS网站内容管理系统 ]
* | Copyright (c) 2016-2017 http://www.larrycms.com All rights reserved.
* | Licensed ( http://www.larrycms.com/licenses/ )
* | Author: qinshouwei <313492783@qq.com>
* +----------------------------------------------------------------------
*/
var myChart = echarts.init(document.getElementById('larry-seo-stats'));
option = {
    tooltip : {
        trigger: 'item',
        formatter: "{b}用水   {c} 立方"
    },
    legend: {
        orient: 'vertical',
        left: 'center',
        data: ['总用水']
    },
    xAxis: [{
			type: 'category',
			boundaryGap: false,
			data: ['2018-12-11','2018-12-12','2018-12-13','2018-12-14','2018-12-15','2018-12-16','2018-12-17']
		}],
	yAxis: [{
		type: 'value',
		axisLabel: {}
	}],
    series : [
        {
            name: '总用水',
            type: 'line',
            data:[12,15,13,20,26,18,24],
            itemStyle: {
                emphasis: {
                    shadowBlur: 10,
                    shadowOffsetX: 0,
                    shadowColor: 'rgba(0, 0, 0, 0.5)'
                }
            }
        }
    ]
};
myChart.setOption(option);
